public class SmartPhone {
    private Callable caller;
    private Photographable camera;
    private MusicPlayable musicPlayer;
    public SmartPhone(Callable caller,Photographable camera,MusicPlayable musicPlayer){
        this.caller =caller;
        this.camera=camera;
        this.musicPlayer=musicPlayer;
    }
    public void call(){
        caller.makeCall();
    }
    public void takeAPhoto(){
        camera.takePhoto();
    }
    public void playSomerMusic(){
        musicPlayer.playMusic();
    }
}
